class Point
{
int _x,
_y;
public:
Point() {
_x = _y = 0;
}
void
setX(const int val);
void
setY(const int val);
int getX()
{ return _x; }
int getY()
{ return _y; }
};
class Point {
int
_x, _y;
public:
Point() {
_x
= _y = 0;
}
Point(const
int x, const int y)
{
_x =
x;
_y =
y;
}
void
setX(const int val);
void
setY(const int val);
int
getX() { return _x; }
int getY()
{ return _y; }
};